/*
---
name: Element.Maximum

description:

license: MIT-style

authors:
- Noritaka Horio

requires:
  - Core/Core
  - Core/Function
  - Core/Element

provides: [Element.Maximum]

...
*/

(function($){

Elements.implement({

	getMaxHeight: function(){
		var max = 0, len = this.length;
		for (var i = 0; i < len; i++) {
			var element = this[i];
			var height = element.getHeight();
			if (max < height) {
				max = height;
			}
		}
		return max;
	}

});

}(document.id));